home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / docs / devel / tcl / itcl1_31.z / itcl1_31 / tcldev / itcl-1.3 / man / Makefile < prev    next >
Encoding:
Makefile  |  1993-11-13  |  2.6 KB  |  72 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # ---------------------------------------------------------------------------
  3. #           [incr Tcl] - Object-oriented programming in Tcl
  4. # ---------------------------------------------------------------------------
  5. # This file is a Makefile for [incr Tcl].  If it has the name "Makefile.in"
  6. # then it is a template for a Makefile; to generate the actual Makefile,
  7. # run "./configure", which is a configuration script generated by the
  8. # "autoconf" program (constructs like "@foo@" will get replaced in the
  9. # actual Makefile.
  10. # ---------------------------------------------------------------------------
  11.  
  12. # ---------------------------------------------------------------------------
  13. # Things you can change to personalize the Makefile for your own site.
  14. # (You can make these changes in either Makefile.in or Makefile, but
  15. # changes to Makefile will get lost if you re-run the configuration script.)
  16. # ---------------------------------------------------------------------------
  17. # INSTALLATION DIRECTORIES
  18. # ---------------------------------------------------------------------------
  19.  
  20. # Top-level directory in which to install machine-independent files:
  21. prefix = $(ROOT)/usr
  22.  
  23. # Top-level directory for manual entries:
  24. MAN_DIR = $(prefix)/man
  25.  
  26. # Directory in which to install manual entry for [incr Tcl]:
  27. MANN_DIR = $(MAN_DIR)/mann
  28.  
  29. # ---------------------------------------------------------------------------
  30. # The information below is modified by the configure script when Makefile
  31. # is generated from Makefile.in.  You shouldn't normally modify any of
  32. # this stuff by hand.
  33. # ---------------------------------------------------------------------------
  34.  
  35. SRC_DIR =        .
  36. VPATH =            .
  37.  
  38. # ---------------------------------------------------------------------------
  39. # The information below should be usable as is.  The configure script
  40. # won't modify it and you shouldn't need to modify it either.
  41. # ---------------------------------------------------------------------------
  42.  
  43. all:
  44.  
  45. install:
  46.     @for i in $(MAN_DIR) $(MANN_DIR) ; \
  47.         do \
  48.         if [ ! -d $$i ] ; then \
  49.         echo "Making directory $$i"; \
  50.         mkdir $$i; \
  51.         chmod 755 $$i; \
  52.         else true; \
  53.         fi; \
  54.         done;
  55.     @cd $(SRC_DIR); for i in *.n; \
  56.         do \
  57.         echo "Installing $$i"; \
  58.         rm -f $(MANN_DIR)/$$i; \
  59.         sed -e '/man\.macros/r man.macros' -e '/man\.macros/d' \
  60.             $$i > $(MANN_DIR)/$$i; \
  61.         chmod 444 $(MANN_DIR)/$$i; \
  62.         done;
  63.  
  64. Makefile: $(SRC_DIR)/Makefile.in
  65.     $(SHELL) config.status
  66.  
  67. clean:
  68.     rm -f *.a *.o core errs *~ \#* TAGS *.E a.out errors
  69.  
  70. distclean: clean
  71.     rm -f Makefile config.status
  72.